import React from 'react';
import { connect } from 'dva';
import styles from './PdaList.css';
import ItemList from '../../../components/list/ItemList.js'
import * as listService from '../../../services/itemList/baseItemList.js'

function PdaList() {
  const clms=[
    {
      title: '编号',
      dataIndex: 'id',
      key: 'id'
    },
    {
      title: '名称',
      dataIndex: 'name',
      key: 'name'
    },
  ];
  return (
    <div className={styles.normal}>
     <ItemList service={listService} columns={clms}></ItemList>
    </div>
  );
}

function mapStateToProps() {
  return {};
}

export default connect(mapStateToProps)(PdaList);
